/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.openbravo.bean;

import cn.ekuma.data.dao.bean.I_BaseBean;


/**
 * 
 * @author Administrator
 */
public class SharedProduct implements I_BaseBean<String>{
    /**
	 * 
	 */
	private static final long serialVersionUID = -5427895157376180666L;
	String productId;//
    String attsetinstid;
    double num;//

    public SharedProduct(String id) {
        this.productId=id;
        attsetinstid=null;
        num=1;
    }

    public SharedProduct(String productId, String attsetinstid, double num) {
        this.productId = productId;
        this.attsetinstid = attsetinstid;
        this.num = num;
    }

    public SharedProduct() {
		// TODO Auto-generated constructor stub
	}

	public String getAttsetinstid() {
        return attsetinstid;
    }

    public void setAttsetinstid(String attsetinstid) {
        this.attsetinstid = attsetinstid;
    }

    public double getNum() {
        return num;
    }

    public void setNum(double num) {
        this.num = num;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getKey() {
        return productId;
    }

    
}
